package thinking.java.initalization.and.clean.up.example;

/**
 * @author GaoFeng
 * @date 2020/1/2 19:24
 */
public class Ex_5_7_4_15_StringInitializationBlock {

    private String name;

    // 实例化域
    {
        name = "Ex_5_7_4_15_StringInitializationBlock";
    }

    public void print() {
        System.out.println("name is " + name);
    }

    public static void main(String[] args) {
        Ex_5_7_4_15_StringInitializationBlock stringInitializationBlock = new Ex_5_7_4_15_StringInitializationBlock();
        stringInitializationBlock.print();
    }


    public void sstringTest(String[] params) {
        // 据这是很大示范示范iq
    }
}